<template>
  <div class="tabDiv">
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="自定义" name="second">
        <customDrag />
      </el-tab-pane>
      <el-tab-pane label="动画" name="third">
        <listDrag />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>

import customDrag from "./customDrag.vue";
import listDrag from "./listDrag.vue";
export default {
  name: "tabDiv",
  data() {
    return {
      activeName: "second"
    };
  },
  components: {

    customDrag,
    listDrag
  },
  methods: {
    handleClick(tab, event) {}
  }
};
</script>

<style scoped></style>
